/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package models;

import java.util.Date;
import javax.persistence.*;
import play.db.jpa.Model;

/**
 *
 * @author Dsi
 */
@Entity
public class User extends Model{
    public String usernickname;
    public String password;
    public char Sex;
    public Date birthdate;
    public City city;
    public String profile;
    public String phone;
    public String email;

    public User() {
    }

    public User(String usernickname, String password, char Sex, Date birthdate, City city, String profile, String phone, String email) {
        this.usernickname = usernickname;
        this.password = password;
        this.Sex = Sex;
        this.birthdate = birthdate;
        this.city = city;
        this.profile = profile;
        this.phone = phone;
        this.email = email;
    }

    
    
}
